package com.fh.web.vo;

import java.io.Serializable;

import com.fh.dto.SysUser;

public class SysUserVo extends SysUser implements Serializable{

	private static final long serialVersionUID = 1L;
	/**
	 * 出生日期
	 */
	private String birthDates;
	/**
	 * 入学/入职年份
	 */
	private String joinDates;
	/**
	 * 有效期
	 */
	private String validDates;
	
	/**
	 * 创建时间
	 */
	private String createDate;
	
	/**
	 * 更新时间
	 */
	private String updateDate;
	
	/**
	 * 组织名称
	 */
	private String orgName;
	/**
	 * 角色名称
	 */
	private String roleNames;

	/**
	 * 角色Ids
	 */
	private String roleIds;
	/**
	 * 用户所在学校名
	 */
	private String schoolName;
	/**
	 * 学生年级id
	 */
	public String stdGrade;
	/**
	 * 学生班级id
	 */
	private String stdClass;
	/**
	 * 用户所在班级名称
	 */
	private String className;
	/**
	 * 用户所在年级名称
	 */
	private String gradeName;
    //是否是班主任
    private Integer isHeadTeacher;
    //班主任所带班级字符串
    private String leadClassStr;
    private String tSubjectAndClassStr;

    
	public String getBirthDates() {
		return birthDates;
	}

	public void setBirthDates(String birthDates) {
		this.birthDates = birthDates;
	}

	public String getJoinDates() {
		return joinDates;
	}

	public void setJoinDates(String joinDates) {
		this.joinDates = joinDates;
	}

	public String getUpdateDate() {
		return updateDate;
	}

	public void setUpdateDate(String updateDate) {
		this.updateDate = updateDate;
	}

	public String getOrgName() {
		return orgName;
	}

	public void setOrgName(String orgName) {
		this.orgName = orgName;
	}

	public String getRoleNames() {
		return roleNames;
	}

	public void setRoleNames(String roleNames) {
		this.roleNames = roleNames;
	}

	public String getRoleIds() {
		return roleIds;
	}

	public void setRoleIds(String roleIds) {
		this.roleIds = roleIds;
	}

	public String getSchoolName() {
		return schoolName;
	}

	public void setSchoolName(String schoolName) {
		this.schoolName = schoolName;
	}

	public String getStdGrade() {
		return stdGrade;
	}

	public void setStdGrade(String stdGrade) {
		this.stdGrade = stdGrade;
	}

	public String getStdClass() {
		return stdClass;
	}

	public void setStdClass(String stdClass) {
		this.stdClass = stdClass;
	}

	public String getClassName() {
		return className;
	}

	public void setClassName(String className) {
		this.className = className;
	}

	public String getGradeName() {
		return gradeName;
	}

	public void setGradeName(String gradeName) {
		this.gradeName = gradeName;
	}

	public Integer getIsHeadTeacher() {
		return isHeadTeacher;
	}

	public void setIsHeadTeacher(Integer isHeadTeacher) {
		this.isHeadTeacher = isHeadTeacher;
	}

	public String getLeadClassStr() {
		return leadClassStr;
	}

	public void setLeadClassStr(String leadClassStr) {
		this.leadClassStr = leadClassStr;
	}

	public String gettSubjectAndClassStr() {
		return tSubjectAndClassStr;
	}

	public void settSubjectAndClassStr(String tSubjectAndClassStr) {
		this.tSubjectAndClassStr = tSubjectAndClassStr;
	}
	
	

//	public SysUserDto getSysUserDto() {
//		return sysUserDto;
//	}
//
//	public void setSysUserDto(SysUserDto sysUserDto) {
//		this.sysUserDto = sysUserDto;
//	}
	
	public String getValidDates() {
		return validDates;
	}

	public void setValidDates(String validDates) {
		this.validDates = validDates;
	}

	public String getCreateDate() {
		return createDate;
	}

	public void setCreateDate(String createDate) {
		this.createDate = createDate;
	}

	public static SysUserVo getSysUserVo(SysUser sysUser){
		SysUserVo SysUserVo = new SysUserVo();
		SysUserVo.setUserId(sysUser.getUserId());
		SysUserVo.setUserCode(sysUser.getUserCode());
		SysUserVo.setUserName(sysUser.getUserName());
		SysUserVo.setPassword(sysUser.getPassword());
		SysUserVo.setUserTypeId(sysUser.getUserTypeId());
		SysUserVo.setDeleteState(sysUser.getDeleteState());
		SysUserVo.setSex(sysUser.getSex());
		SysUserVo.setEmail(sysUser.getEmail());
		SysUserVo.setPhone(sysUser.getPhone());
		SysUserVo.setCreateTime(sysUser.getCreateTime());
		SysUserVo.setCreateUserId(sysUser.getCreateUserId());
		SysUserVo.setValidDate(sysUser.getValidDate());
		SysUserVo.setUpdateTime(sysUser.getUpdateTime());
		SysUserVo.setSysCode(sysUser.getSysCode());
		SysUserVo.setNotes(sysUser.getNotes());
		return SysUserVo;
	}

}
